Optimal. Leaf size=333 \[ \frac {(b c-a d)^4 (7 b c+5 a d) \sqrt {a+b x} \sqrt {c+d x}}{512 a^4 c^3 x}-\frac {(b c-a d)^3 (7 b c+5 a d) \sqrt {a+b x} (c+d x)^{3/2}}{768 a^3 c^3 x^2}+\frac {(b c-a d)^2 (7 b c+5 a d) \sqrt {a+b x} (c+d x)^{5/2}}{960 a^2 c^3 x^3}+\frac {(b c-a d) (7 b c+5 a d) \sqrt {a+b x} (c+d x)^{7/2}}{160 a c^3 x^4}+\frac {(7 b c+5 a d) (a+b x)^{3/2} (c+d x)^{7/2}}{60 a c^2 x^5}-\frac {(a+b x)^{5/2} (c+d x)^{7/2}}{6 a c x^6}-\frac {(b c-a d)^5 (7 b c+5 a d) \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{512 a^{9/2} c^{7/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.14, antiderivative size = 333, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 4, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {98, 96, 95, 214}
\begin {gather*} -\frac {(5 a d+7 b c) (b c-a d)^5 \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{512 a^{9/2} c^{7/2}}+\frac {\sqrt {a+b x} \sqrt {c+d x} (5 a d+7 b c) (b c-a d)^4}{512 a^4 c^3 x}-\frac {\sqrt {a+b x} (c+d x)^{3/2} (5 a d+7 b c) (b c-a d)^3}{768 a^3 c^3 x^2}+\frac {\sqrt {a+b x} (c+d x)^{5/2} (5 a d+7 b c) (b c-a d)^2}{960 a^2 c^3 x^3}+\frac {\sqrt {a+b x} (c+d x)^{7/2} (5 a d+7 b c) (b c-a d)}{160 a c^3 x^4}+\frac {(a+b x)^{3/2} (c+d x)^{7/2} (5 a d+7 b c)}{60 a c^2 x^5}-\frac {(a+b x)^{5/2} (c+d x)^{7/2}}{6 a c x^6} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 95
Rule 96
Rule 98
Rule 214
Rubi steps
\begin {align*} \int \frac {(a+b x)^{3/2} (c+d x)^{5/2}}{x^7} \, dx &=-\frac {(a+b x)^{5/2} (c+d x)^{7/2}}{6 a c x^6}-\frac {\left (\frac {7 b c}{2}+\frac {5 a d}{2}\right ) \int \frac {(a+b x)^{3/2} (c+d x)^{5/2}}{x^6} \, dx}{6 a c}\\ &=\frac {(7 b c+5 a d) (a+b x)^{3/2} (c+d x)^{7/2}}{60 a c^2 x^5}-\frac {(a+b x)^{5/2} (c+d x)^{7/2}}{6 a c x^6}-\frac {((b c-a d) (7 b c+5 a d)) \int \frac {\sqrt {a+b x} (c+d x)^{5/2}}{x^5} \, dx}{40 a c^2}\\ &=\frac {(b c-a d) (7 b c+5 a d) \sqrt {a+b x} (c+d x)^{7/2}}{160 a c^3 x^4}+\frac {(7 b c+5 a d) (a+b x)^{3/2} (c+d x)^{7/2}}{60 a c^2 x^5}-\frac {(a+b x)^{5/2} (c+d x)^{7/2}}{6 a c x^6}-\frac {\left ((b c-a d)^2 (7 b c+5 a d)\right ) \int \frac {(c+d x)^{5/2}}{x^4 \sqrt {a+b x}} \, dx}{320 a c^3}\\ &=\frac {(b c-a d)^2 (7 b c+5 a d) \sqrt {a+b x} (c+d x)^{5/2}}{960 a^2 c^3 x^3}+\frac {(b c-a d) (7 b c+5 a d) \sqrt {a+b x} (c+d x)^{7/2}}{160 a c^3 x^4}+\frac {(7 b c+5 a d) (a+b x)^{3/2} (c+d x)^{7/2}}{60 a c^2 x^5}-\frac {(a+b x)^{5/2} (c+d x)^{7/2}}{6 a c x^6}+\frac {\left ((b c-a d)^3 (7 b c+5 a d)\right ) \int \frac {(c+d x)^{3/2}}{x^3 \sqrt {a+b x}} \, dx}{384 a^2 c^3}\\ &=-\frac {(b c-a d)^3 (7 b c+5 a d) \sqrt {a+b x} (c+d x)^{3/2}}{768 a^3 c^3 x^2}+\frac {(b c-a d)^2 (7 b c+5 a d) \sqrt {a+b x} (c+d x)^{5/2}}{960 a^2 c^3 x^3}+\frac {(b c-a d) (7 b c+5 a d) \sqrt {a+b x} (c+d x)^{7/2}}{160 a c^3 x^4}+\frac {(7 b c+5 a d) (a+b x)^{3/2} (c+d x)^{7/2}}{60 a c^2 x^5}-\frac {(a+b x)^{5/2} (c+d x)^{7/2}}{6 a c x^6}-\frac {\left ((b c-a d)^4 (7 b c+5 a d)\right ) \int \frac {\sqrt {c+d x}}{x^2 \sqrt {a+b x}} \, dx}{512 a^3 c^3}\\ &=\frac {(b c-a d)^4 (7 b c+5 a d) \sqrt {a+b x} \sqrt {c+d x}}{512 a^4 c^3 x}-\frac {(b c-a d)^3 (7 b c+5 a d) \sqrt {a+b x} (c+d x)^{3/2}}{768 a^3 c^3 x^2}+\frac {(b c-a d)^2 (7 b c+5 a d) \sqrt {a+b x} (c+d x)^{5/2}}{960 a^2 c^3 x^3}+\frac {(b c-a d) (7 b c+5 a d) \sqrt {a+b x} (c+d x)^{7/2}}{160 a c^3 x^4}+\frac {(7 b c+5 a d) (a+b x)^{3/2} (c+d x)^{7/2}}{60 a c^2 x^5}-\frac {(a+b x)^{5/2} (c+d x)^{7/2}}{6 a c x^6}+\frac {\left ((b c-a d)^5 (7 b c+5 a d)\right ) \int \frac {1}{x \sqrt {a+b x} \sqrt {c+d x}} \, dx}{1024 a^4 c^3}\\ &=\frac {(b c-a d)^4 (7 b c+5 a d) \sqrt {a+b x} \sqrt {c+d x}}{512 a^4 c^3 x}-\frac {(b c-a d)^3 (7 b c+5 a d) \sqrt {a+b x} (c+d x)^{3/2}}{768 a^3 c^3 x^2}+\frac {(b c-a d)^2 (7 b c+5 a d) \sqrt {a+b x} (c+d x)^{5/2}}{960 a^2 c^3 x^3}+\frac {(b c-a d) (7 b c+5 a d) \sqrt {a+b x} (c+d x)^{7/2}}{160 a c^3 x^4}+\frac {(7 b c+5 a d) (a+b x)^{3/2} (c+d x)^{7/2}}{60 a c^2 x^5}-\frac {(a+b x)^{5/2} (c+d x)^{7/2}}{6 a c x^6}+\frac {\left ((b c-a d)^5 (7 b c+5 a d)\right ) \text {Subst}\left (\int \frac {1}{-a+c x^2} \, dx,x,\frac {\sqrt {a+b x}}{\sqrt {c+d x}}\right )}{512 a^4 c^3}\\ &=\frac {(b c-a d)^4 (7 b c+5 a d) \sqrt {a+b x} \sqrt {c+d x}}{512 a^4 c^3 x}-\frac {(b c-a d)^3 (7 b c+5 a d) \sqrt {a+b x} (c+d x)^{3/2}}{768 a^3 c^3 x^2}+\frac {(b c-a d)^2 (7 b c+5 a d) \sqrt {a+b x} (c+d x)^{5/2}}{960 a^2 c^3 x^3}+\frac {(b c-a d) (7 b c+5 a d) \sqrt {a+b x} (c+d x)^{7/2}}{160 a c^3 x^4}+\frac {(7 b c+5 a d) (a+b x)^{3/2} (c+d x)^{7/2}}{60 a c^2 x^5}-\frac {(a+b x)^{5/2} (c+d x)^{7/2}}{6 a c x^6}-\frac {(b c-a d)^5 (7 b c+5 a d) \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{512 a^{9/2} c^{7/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.72, size = 322, normalized size = 0.97 \begin {gather*} \frac {(-b c+a d)^5 \left (\frac {\sqrt {a} \sqrt {c} \sqrt {a+b x} \sqrt {c+d x} \left (-105 b^5 c^5 x^5+5 a b^4 c^4 x^4 (14 c+83 d x)-2 a^2 b^3 c^3 x^3 \left (28 c^2+136 c d x+273 d^2 x^2\right )+6 a^3 b^2 c^2 x^2 \left (8 c^3+36 c^2 d x+58 c d^2 x^2+25 d^3 x^3\right )+a^4 b c x \left (1664 c^4+4448 c^3 d x+3384 c^2 d^2 x^2+160 c d^3 x^3-245 d^4 x^4\right )+5 a^5 \left (256 c^5+640 c^4 d x+432 c^3 d^2 x^2+8 c^2 d^3 x^3-10 c d^4 x^4+15 d^5 x^5\right )\right )}{(b c-a d)^5 x^6}+15 (7 b c+5 a d) \tanh ^{-1}\left (\frac {\sqrt {a} \sqrt {c+d x}}{\sqrt {c} \sqrt {a+b x}}\right )\right )}{7680 a^{9/2} c^{7/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(1067\) vs.
\(2(283)=566\).
time = 0.07, size = 1068, normalized size = 3.21
method | result | size |
default | \(\frac {\sqrt {b x +a}\, \sqrt {d x +c}\, \left (490 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, a^{4} b c \,d^{4} x^{5}-300 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, a^{3} b^{2} c^{2} d^{3} x^{5}+1092 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, a^{2} b^{3} c^{3} d^{2} x^{5}-830 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, a \,b^{4} c^{4} d \,x^{5}-270 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) a^{5} b c \,d^{5} x^{6}+225 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) a^{4} b^{2} c^{2} d^{4} x^{6}+300 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) a^{3} b^{3} c^{3} d^{3} x^{6}-675 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) a^{2} b^{4} c^{4} d^{2} x^{6}+450 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) a \,b^{5} c^{5} d \,x^{6}-80 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, a^{5} c^{2} d^{3} x^{3}+112 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, a^{2} b^{3} c^{5} x^{3}-4320 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, a^{5} c^{3} d^{2} x^{2}-6400 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, a^{5} c^{4} d x -3328 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, a^{4} b \,c^{5} x +100 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, a^{5} c \,d^{4} x^{4}-140 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, a \,b^{4} c^{5} x^{4}-96 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, a^{3} b^{2} c^{5} x^{2}-2560 \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, a^{5} c^{5} \sqrt {a c}+75 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) a^{6} d^{6} x^{6}-105 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) b^{6} c^{6} x^{6}-320 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, a^{4} b \,c^{2} d^{3} x^{4}-696 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, a^{3} b^{2} c^{3} d^{2} x^{4}+544 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, a^{2} b^{3} c^{4} d \,x^{4}-6768 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, a^{4} b \,c^{3} d^{2} x^{3}-432 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, a^{3} b^{2} c^{4} d \,x^{3}-8896 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, a^{4} b \,c^{4} d \,x^{2}+210 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, b^{5} c^{5} x^{5}-150 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, a^{5} d^{5} x^{5}\right )}{15360 a^{4} c^{3} \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, x^{6} \sqrt {a c}}\) | \(1068\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 10.20, size = 922, normalized size = 2.77 \begin {gather*} \left [-\frac {15 \, {\left (7 \, b^{6} c^{6} - 30 \, a b^{5} c^{5} d + 45 \, a^{2} b^{4} c^{4} d^{2} - 20 \, a^{3} b^{3} c^{3} d^{3} - 15 \, a^{4} b^{2} c^{2} d^{4} + 18 \, a^{5} b c d^{5} - 5 \, a^{6} d^{6}\right )} \sqrt {a c} x^{6} \log \left (\frac {8 \, a^{2} c^{2} + {\left (b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2}\right )} x^{2} + 4 \, {\left (2 \, a c + {\left (b c + a d\right )} x\right )} \sqrt {a c} \sqrt {b x + a} \sqrt {d x + c} + 8 \, {\left (a b c^{2} + a^{2} c d\right )} x}{x^{2}}\right ) + 4 \, {\left (1280 \, a^{6} c^{6} - {\left (105 \, a b^{5} c^{6} - 415 \, a^{2} b^{4} c^{5} d + 546 \, a^{3} b^{3} c^{4} d^{2} - 150 \, a^{4} b^{2} c^{3} d^{3} + 245 \, a^{5} b c^{2} d^{4} - 75 \, a^{6} c d^{5}\right )} x^{5} + 2 \, {\left (35 \, a^{2} b^{4} c^{6} - 136 \, a^{3} b^{3} c^{5} d + 174 \, a^{4} b^{2} c^{4} d^{2} + 80 \, a^{5} b c^{3} d^{3} - 25 \, a^{6} c^{2} d^{4}\right )} x^{4} - 8 \, {\left (7 \, a^{3} b^{3} c^{6} - 27 \, a^{4} b^{2} c^{5} d - 423 \, a^{5} b c^{4} d^{2} - 5 \, a^{6} c^{3} d^{3}\right )} x^{3} + 16 \, {\left (3 \, a^{4} b^{2} c^{6} + 278 \, a^{5} b c^{5} d + 135 \, a^{6} c^{4} d^{2}\right )} x^{2} + 128 \, {\left (13 \, a^{5} b c^{6} + 25 \, a^{6} c^{5} d\right )} x\right )} \sqrt {b x + a} \sqrt {d x + c}}{30720 \, a^{5} c^{4} x^{6}}, \frac {15 \, {\left (7 \, b^{6} c^{6} - 30 \, a b^{5} c^{5} d + 45 \, a^{2} b^{4} c^{4} d^{2} - 20 \, a^{3} b^{3} c^{3} d^{3} - 15 \, a^{4} b^{2} c^{2} d^{4} + 18 \, a^{5} b c d^{5} - 5 \, a^{6} d^{6}\right )} \sqrt {-a c} x^{6} \arctan \left (\frac {{\left (2 \, a c + {\left (b c + a d\right )} x\right )} \sqrt {-a c} \sqrt {b x + a} \sqrt {d x + c}}{2 \, {\left (a b c d x^{2} + a^{2} c^{2} + {\left (a b c^{2} + a^{2} c d\right )} x\right )}}\right ) - 2 \, {\left (1280 \, a^{6} c^{6} - {\left (105 \, a b^{5} c^{6} - 415 \, a^{2} b^{4} c^{5} d + 546 \, a^{3} b^{3} c^{4} d^{2} - 150 \, a^{4} b^{2} c^{3} d^{3} + 245 \, a^{5} b c^{2} d^{4} - 75 \, a^{6} c d^{5}\right )} x^{5} + 2 \, {\left (35 \, a^{2} b^{4} c^{6} - 136 \, a^{3} b^{3} c^{5} d + 174 \, a^{4} b^{2} c^{4} d^{2} + 80 \, a^{5} b c^{3} d^{3} - 25 \, a^{6} c^{2} d^{4}\right )} x^{4} - 8 \, {\left (7 \, a^{3} b^{3} c^{6} - 27 \, a^{4} b^{2} c^{5} d - 423 \, a^{5} b c^{4} d^{2} - 5 \, a^{6} c^{3} d^{3}\right )} x^{3} + 16 \, {\left (3 \, a^{4} b^{2} c^{6} + 278 \, a^{5} b c^{5} d + 135 \, a^{6} c^{4} d^{2}\right )} x^{2} + 128 \, {\left (13 \, a^{5} b c^{6} + 25 \, a^{6} c^{5} d\right )} x\right )} \sqrt {b x + a} \sqrt {d x + c}}{15360 \, a^{5} c^{4} x^{6}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a + b x\right )^{\frac {3}{2}} \left (c + d x\right )^{\frac {5}{2}}}{x^{7}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 8502 vs.
\(2 (283) = 566\).
time = 7.05, size = 8502, normalized size = 25.53 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (a+b\,x\right )}^{3/2}\,{\left (c+d\,x\right )}^{5/2}}{x^7} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________